<template>
  <div class="school">
    <h2>学校名称：{{name}}</h2>
    <h2>学校地址：{{address}}</h2>
  </div>
</template>

<script>
export default {
  name: 'SchoolItem',
  data(){
    return {
      name: '北京大学',
      address: 'HEFEI'
    }
  }
}
</script>

<style>
  .schoool {
    background-color: skyblue;
  }
</style>